from messAround.util.database import BaseModel, BaseModelField
from sqlalchemy import Column
from sqlalchemy import VARCHAR, Integer, Numeric


# 阿里旅行
class HotAliTripModel(BaseModel.base, BaseModelField):
    __tablename__ = 'hot_ali_trip'
    category = Column(VARCHAR(255))
    category_id = Column(Integer, default=0)
    category_name = Column(VARCHAR(255))
    name = Column(VARCHAR(255))
    link = Column(VARCHAR(1000))
    cover = Column(VARCHAR(1000))
    price = Column(Numeric(10, 2))
    sell_count = Column(Integer)
